import uviewPlus from 'uview-plus'
import { createSSRApp } from "vue";
import App from "./App.vue";
import pinia from './store/index.ts'
import {getnavHeight} from './utils/utils'
import {appStorage} from './utils/appStorage.js'
export function createApp() {
  const app = createSSRApp(App);
  app.use(pinia)
  app.use(uviewPlus)
  app.config.globalProperties.getnavHeight = getnavHeight;
  app.config.globalProperties.appStorage = appStorage;
  return {
    app,
  };
}
